#ifndef TXTHANDLER_H_HEADER_INCLUDED_B4F2A6A0
#define TXTHANDLER_H_HEADER_INCLUDED_B4F2A6A0

#include "FormatHandler.h"
#include "../definition.h"

//##ModelId=4B0AD5A40213
class TxtHandler : public FormatHandler
{
protected:
	STRING m_content;
public:
	TxtHandler(STRING content = EMPTY_STRING);
	bool DocExport(STRING path);
	bool DocImport(STRING path);
    bool DocUpdate(STRING content){ m_content = content; return true;};
    bool DocMetaInfoUpdate(void* ci){ return false; };

    STRING GetContent(){ return m_content; };
    STRING SetContent(STRING content){ m_content = content; };
    bool SaveSnapshotsTo(void* cmdInfo){ return false; };
    bool Snapshot(void* ci){ return false; };
    bool SelFHandler(Document* pDoc){ return false; };

    TxtHandler* Instance();
    TxtHandler& InstanceRef();
};



#endif /* TXTHANDLER_H_HEADER_INCLUDED_B4F2A6A0 */
